package com.czy.owner.entity;

import java.util.List;

/**
 * Created by wanyang on 2016/12/8.
 */

public class CityModel {


    /**
     * flag : true
     * data : [{"level":"province","locationId":4000,"cityCode":"021","adCode":"310000","center":"121.472644,31.231706","name":"上海市","shorthand":"沪"},{"level":"province","locationId":5777,"cityCode":"[]","adCode":"530000","center":"102.712251,25.040609","name":"云南省","shorthand":"云"},{"level":"province","locationId":3564,"cityCode":"[]","adCode":"150000","center":"111.670801,40.818311","name":"内蒙古自治区","shorthand":"蒙"},{"level":"province","locationId":3226,"cityCode":"010","adCode":"110000","center":"116.405285,39.904989","name":"北京市","shorthand":"京"},{"level":"province","locationId":6421,"cityCode":"1886","adCode":"710000","center":"121.509062,25.044332","name":"台湾省","shorthand":"台"},{"level":"province","locationId":3793,"cityCode":"[]","adCode":"220000","center":"125.3245,43.886841","name":"吉林省","shorthand":"吉"},{"level":"province","locationId":5477,"cityCode":"[]","adCode":"510000","center":"104.065735,30.659462","name":"四川省","shorthand":"川"},{"level":"province","locationId":3244,"cityCode":"022","adCode":"120000","center":"117.190182,39.125596","name":"天津市","shorthand":"津"},{"level":"province","locationId":6273,"cityCode":"[]","adCode":"640000","center":"106.278179,38.46637","name":"宁夏回族自治区","shorthand":"宁"},{"level":"province","locationId":4224,"cityCode":"[]","adCode":"340000","center":"117.283042,31.86119","name":"安徽省","shorthand":"皖"},{"level":"province","locationId":4550,"cityCode":"[]","adCode":"370000","center":"117.000923,36.675807","name":"山东省","shorthand":"鲁"},{"level":"province","locationId":3438,"cityCode":"[]","adCode":"140000","center":"112.549248,37.857014","name":"山西省","shorthand":"晋"},{"level":"province","locationId":5129,"cityCode":"[]","adCode":"440000","center":"113.280637,23.125178","name":"广东省","shorthand":"粤"},{"level":"province","locationId":5273,"cityCode":"[]","adCode":"450000","center":"108.320004,22.82402","name":"广西壮族自治区","shorthand":"桂"},{"level":"province","locationId":6301,"cityCode":"[]","adCode":"650000","center":"87.617733,43.792818","name":"新疆维吾尔自治区","shorthand":"新"},{"level":"province","locationId":4017,"cityCode":"[]","adCode":"320000","center":"118.767413,32.041544","name":"江苏省","shorthand":"苏"},{"level":"province","locationId":4439,"cityCode":"[]","adCode":"360000","center":"115.892151,28.676493","name":"江西省","shorthand":"赣"},{"level":"province","locationId":3262,"cityCode":"[]","adCode":"130000","center":"114.502461,38.045474","name":"河北省","shorthand":"冀"},{"level":"province","locationId":4703,"cityCode":"[]","adCode":"410000","center":"113.665412,34.757975","name":"河南省","shorthand":"豫"},{"level":"province","locationId":4124,"cityCode":"[]","adCode":"330000","center":"120.153576,30.287459","name":"浙江省","shorthand":"浙"},{"level":"province","locationId":5399,"cityCode":"[]","adCode":"460000","center":"110.33119,20.031971","name":"海南省","shorthand":"琼"},{"level":"province","locationId":4877,"cityCode":"[]","adCode":"420000","center":"114.298572,30.584355","name":"湖北省","shorthand":"鄂"},{"level":"province","locationId":4993,"cityCode":"[]","adCode":"430000","center":"112.982279,28.19409","name":"湖南省","shorthand":"湘"},{"level":"province","locationId":6440,"cityCode":"1853","adCode":"820000","center":"113.54909,22.198951","name":"澳门特别行政区","shorthand":"澳"},{"level":"province","locationId":6121,"cityCode":"[]","adCode":"620000","center":"103.823557,36.058039","name":"甘肃省","shorthand":"甘"},{"level":"province","locationId":4345,"cityCode":"[]","adCode":"350000","center":"119.306239,26.075302","name":"福建省","shorthand":"闽"},{"level":"province","locationId":5923,"cityCode":"[]","adCode":"540000","center":"91.132212,29.660361","name":"西藏自治区","shorthand":"藏"},{"level":"province","locationId":5680,"cityCode":"[]","adCode":"520000","center":"106.713478,26.578343","name":"贵州省","shorthand":"贵"},{"level":"province","locationId":3680,"cityCode":"[]","adCode":"210000","center":"123.429096,41.796767","name":"辽宁省","shorthand":"辽"},{"level":"province","locationId":5437,"cityCode":"023","adCode":"500000","center":"106.504962,29.533155","name":"重庆市","shorthand":"渝"},{"level":"province","locationId":6005,"cityCode":"[]","adCode":"610000","center":"108.948024,34.263161","name":"陕西省","shorthand":"陕"},{"level":"province","locationId":6221,"cityCode":"[]","adCode":"630000","center":"101.778916,36.623178","name":"青海省","shorthand":"青"},{"level":"province","locationId":6422,"cityCode":"1852","adCode":"810000","center":"114.173355,22.320048","name":"香港特别行政区","shorthand":"港"},{"level":"province","locationId":3860,"cityCode":"[]","adCode":"230000","center":"126.642464,45.756967","name":"黑龙江省","shorthand":"黑"}]
     * errorCode : 0
     * serverTime : 1497510000293
     * exp :
     */

    private String flag;
    private int errorCode;
    private long serverTime;
    private String exp;
    private List<DataBean> data;

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public long getServerTime() {
        return serverTime;
    }

    public void setServerTime(long serverTime) {
        this.serverTime = serverTime;
    }

    public String getExp() {
        return exp;
    }

    public void setExp(String exp) {
        this.exp = exp;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * level : province
         * locationId : 4000
         * cityCode : 021
         * adCode : 310000
         * center : 121.472644,31.231706
         * name : 上海市
         * shorthand : 沪
         */

        private String level;
        private int locationId;
        private String cityCode;
        private String adCode;
        private String center;
        private String name;
        private String shorthand;

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public int getLocationId() {
            return locationId;
        }

        public void setLocationId(int locationId) {
            this.locationId = locationId;
        }

        public String getCityCode() {
            return cityCode;
        }

        public void setCityCode(String cityCode) {
            this.cityCode = cityCode;
        }

        public String getAdCode() {
            return adCode;
        }

        public void setAdCode(String adCode) {
            this.adCode = adCode;
        }

        public String getCenter() {
            return center;
        }

        public void setCenter(String center) {
            this.center = center;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getShorthand() {
            return shorthand;
        }

        public void setShorthand(String shorthand) {
            this.shorthand = shorthand;
        }
    }
}
